//
//  WDLoancdetailCell.h
//  Zhihuijinfu
//
//  Created by 王笛 on 2017/1/23.
//  Copyright © 2017年 王笛. All rights reserved.
//

#import <UIKit/UIKit.h>
@class WDMaterialDetail;
@class WDData;
@protocol WDloanDetailCellDelegate;

@interface WDLoandetailCell : UITableViewCell
/** 资料信息 */
@property (nonatomic, strong) WDMaterialDetail *materialDetail;
/** 图片信息 */
@property (nonatomic, strong) NSArray *imagesData;
/** 是不是第一行cell */
@property (assign, nonatomic, getter=isFirstCell) BOOL firstCell;
/** 是不是最后一行的cell */
@property (assign, nonatomic, getter=isLastCell) BOOL lastCell;
/** 代理 */
@property(nonatomic, weak) id<WDloanDetailCellDelegate> delegate;

+ (instancetype)loanDetailCellWithTableView:(UITableView *)tableView ;

@end

@protocol WDloanDetailCellDelegate <NSObject>

- (void)loanDetailShowOriginalImage:(NSArray *)images clickIndex:(NSInteger)index;

@end
